﻿using ReactiveUI;
using System.Reactive;

namespace ExplorerDemo.ViewModels;

public class MainWindowViewModel : ViewModelBase
{
    public string Greeting => "Welcome to Avalonia!";


    public MainWindowViewModel()
    {
        SendCmd = ReactiveCommand.Create(SendExe);  

    }

    public ReactiveCommand<Unit, Unit> SendCmd { get; }
    void SendExe()
    {
        TextValue += "0";
    }
}
